﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Detail.aspx.cs" Inherits="BookExchange.Detail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

    <script type='text/javascript'>
        //<![CDATA[
        var purl = location.href; 
        var fbcm = '<div class="fb-comments" data-href="' + purl + '" data-colorscheme="The color scheme used in the plugin" data-numposts="10" data-width="750"></div>';
  
        //]]>  

        (function (d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) return;
            js = d.createElement(s); js.id = id;
            js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1";
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));

    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div id="fb-root"></div>
    <div class="nta-rightSidebar">
        <!-- Direction -->
        <div class="nta-direction">
            <ul>
                <li><a href="/home/" id="j_idt63" style="margin-left: 3px;"> 
                    <img src="/images/nta/direction/home.png" /></a> 
                </li>
                <li>
                    <img src="images/nta/direction/right.png" alt="" /></li>
                <li><a href="/img/img/" id="j_idt68">Sách cần bán
                </a>
                </li>
                <li>
                    <img src="images/nta/direction/right.png" alt="" /></li>
                <li><a href="/img/icons/1/" id="j_idt74">Sách kinh doanh 
                </a>
                </li>
                <li>
                    <img src="images/nta/direction/right.png" alt="" /></li>
                <li><a>Harry Styles by Alice Montgomery</a></li>
            </ul>
        </div>
        <!-- .nta-direction -->



        <!-- Tra loi -->
        <div class="nta-box5 radius5px shadow chitiet">
            <div class="box5-title">
                <div class="box5-title-left">
                </div>
                <!-- .box5-title-left -->
                <div class="box5-title-mid">

                    <asp:Label ID="lblRequestCode" class="nta-id-images" runat="server" Text="3752"></asp:Label>
                    <!-- #RequestCode -->
                    -
                    <asp:Label ID="lblBookName" runat="server" Text="Harry Styles by Alice Montgomery"></asp:Label>
                    <!-- #BookName -->
                </div>
                <!-- .box5-title-mid -->
                <div class="box5-title-right">
                </div>
                <!-- .box5-title-right -->

            </div>
            <!-- .box5-title -->


            <div class="box5-content">

                <div id="image" runat="server" class="nta-previewContent">
                    <asp:Image ID="Image1" runat="server" /></div>
                <!-- .nta-previewContent -->

                <div class="nta-inforMonhoc">
                    <div class="col">

                        <p>
                            <img src="images/nta/icon/nguoigoi.png" alt="" />
                            <span class="label">Đăng bởi:</span>
                            <asp:HyperLink NavigateUrl='~/Detail.aspx' ID="linkNgDangTin" runat="server"><span id="lblNgDangTin" runat="server">annguyenthien</span></asp:HyperLink>

                        </p>

                        <p>
                            <img src="images/nta/icon/ngaygoi.png" alt="" />
                            <span class="label">Ngày tạo:</span>
                            <span id="lblDate" runat="server">-</span>
                        </p>

                        <p>
                            <img src="images/nta/icon/dungluong.png" alt="" />
                            <span class="label">Số lượng:</span>
                            <span id="lblSoLuong" runat="server">-</span>
                        </p>

                        <p>
                            <img src="images/nta/icon/view.png" alt="" />
                            <span class="label">Giá bìa:</span>
                            <span id="lblGiaBia" runat="server">-</span>
                        </p>

                        <p>
                            <img src="images/nta/icon/solantai.png" alt="" />
                            <span class="label">Giá bán:</span>
                            <span id="lblGiaBan" runat="server">-</span>
                        </p>

                        <p>
                            <img src="images/nta/icon/solantai.png" alt="" />
                            <span class="label">Tình trạng:</span>
                            <span id="lblTinhTrang" runat="server">Còn hàng</span>
                        </p>
                                                <p>
                            <img src="images/nta/icon/app-reason.png" alt="" />
                            <span class="label">Lý do bán sách:</span>
                            <span id="lblReason" runat="server"></span>
                        </p>
                        <p>
                            <img src="images/nta/icon/noidungxau.png" alt="" />
                            <span class="label">Chỉnh sửa:</span>
                            <span><asp:HyperLink ID="lnkEditRequest" runat="server">Click vào đây để chỉnh sửa</asp:HyperLink></span>
                        </p>
                    </div>

                    <!-- .col -->
                    <p>
                        <img src="images/nta/icon/sodiemcanco.png" alt="" />
                        <span class="label">Nơi giao hàng:</span>
                        <span id="lblAddress" runat="server">-</span>
                    </p>

                    
                    <!-- .nta-moreInfo -->

                </div>
                <div class="moreInfoTitle" style="font-weight:normal;"><strong>Sơ lược nội dung</strong></div>
                <div id="txtDes" runat="server" class="nta-moreInfo"></div>
                <!-- .nta-inforMonhoc -->
            </div>
            <!-- .box5-content -->
        </div>
        <!-- .nta-box5 -->

        <div class="nta-binhluan radius5px shadow chitiet">

            <div class="binhluan-title"> 
                <img src="images/nta/binhluan/binhluan.png" /><a href="#binhluan"></a> 
            </div>
            <!-- .binhluan-title -->

            <div class="binhluan-content">
                <!-- record -->  
                <script type='text/javascript'>
                    document.write(fbcm);
                </script>

                <!-- Phan trang --> 
                <div class="nta-phantrang">
                    <ul>
                    </ul>
                </div>
                <!-- .nta-phantrang -->
               <%--  <div class="nta-thongbao-bl">
                    <%--<asp:Repeater ID="rptComments" runat="server">
                        <ItemTemplate>

                            <asp:Label ID="litND" runat="server" Text='<%# Eval("Description") %>'></asp:Label>
                            <br />
                            <asp:Label ID="lblname" runat="server" Text='<%# Eval("MemberName") %>'></asp:Label>
                            <asp:Label ID="lbldate" runat="server" Text='<%# Eval("CreatedTime") %>'></asp:Label>

                        </ItemTemplate>
                    </asp:Repeater>
                    <br />
                    <asp:Label ID="lblAndi" runat="server">Để cho ý kiến bạn hãy <a href="Login.aspx">đăng nhập</a> hoặc <a href="Register.aspx">tạo một tài khoản</a> cho riêng mình</asp:Label>
                    <br />

                    <asp:TextBox ID="txtND" runat="server" TextMode="MultiLine" Rows="4" Width="90%"></asp:TextBox>
                    <br />
                    <asp:Button ID="btnComment" runat="server" Text="Bình luận" OnClick="btnComment_Click" Height="30px" Style="margin: 0 auto; margin-top: 15px; margin-bottom: 15px" />
                </div>--%>
                <!-- .nta-thongbao-bl -->
            </div>
            <!-- .binhluan-content -->
        </div>
        <!-- .nta-binhluan -->


    </div>
    <!-- .nta-rightSidebar -->

</asp:Content>
